Skip to content

Comments

Add waiting for isChecked for DataViewsTest#2894

Merged
DariaBod merged 1 commit intodevelopfrom
fb_fixDataViewsTest
Feb 24, 2026
Merged

Add waiting for isChecked for DataViewsTest#2894
DariaBod merged 1 commit intodevelopfrom
fb_fixDataViewsTest

Conversation

@DariaBod
Copy link
Contributor

@DariaBod DariaBod commented Feb 24, 2026

Rationale

Fix for test DataViewsTest.testSteps add waiting for isChecked

Copy link
Member

@labkey-tchad labkey-tchad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem related to the failure on TeamCity:

java.lang.AssertionError: Text 'Type:' was not present
  at org.junit.Assert.fail(Assert.java:89)
  at org.labkey.test.WebDriverWrapper.assertTextPresent(WebDriverWrapper.java:1731)
  at org.labkey.test.WebDriverWrapper.assertTextPresent(WebDriverWrapper.java:1720)
  at org.labkey.test.WebDriverWrapper.waitForText(WebDriverWrapper.java:2684)
  at org.labkey.test.WebDriverWrapper.waitForText(WebDriverWrapper.java:2678)
  at org.labkey.test.tests.DataViewsTest.refreshDateTest(DataViewsTest.java:302)
  at org.labkey.test.tests.DataViewsTest.doVerifySteps(DataViewsTest.java:95)
  at org.labkey.test.tests.StudyBaseTest.runUITests(StudyBaseTest.java:150)
  at org.labkey.test.tests.StudyBaseTest.testSteps(StudyBaseTest.java:360)

Was this just an error you were hitting locally?

@DariaBod
Copy link
Contributor Author

@labkey-tchad
I'm having trouble reproducing the TeamCity error locally. But this problem appears every second run.
Should I just ignore this because we have no failures on TeamCity?

@labkey-tchad
Copy link
Member

@labkey-tchad I'm having trouble reproducing the TeamCity error locally. But this problem appears every second run. Should I just ignore this because we have no failures on TeamCity?

I definitely think it's worth making this more reliable for folks running the test locally. I was just commenting that rationale in the PR description isn't accurate.
If you aren't having any luck reproducing the failure, I think it's fine to just merge this fix. Tooltip checks like that can be hard to nail down and it looks like it last failed in this way last October.

Copy link
Contributor

@labkey-danield labkey-danield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Echoing what Trey said that I think it is worthwhile making this test more reliable when running locally.

I would check in this change, and let's see how it does on TeamCity.

If the failure is very infrequent, once every couple of months, I don't think it is worth spending any more time on it. There are other intermittent failures that happen more often, especially in the Apps, that would be better to investigate and fix.

@DariaBod DariaBod merged commit 5e68347 into develop Feb 24, 2026
8 checks passed
@DariaBod DariaBod deleted the fb_fixDataViewsTest branch February 24, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants